package com.asiainfo_linkage.mvc;

import org.nutz.mvc.annotation.Fail;
import org.nutz.mvc.annotation.IocBy;
import org.nutz.mvc.annotation.Localization;
import org.nutz.mvc.annotation.Modules;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.SetupBy;
import org.nutz.mvc.ioc.provider.ComboIocProvider;

import com.asiainfo_linkage.mvc.setup.AppSetup;

/**
 * nutz主模块。
 * @author Administrator
 *
 */

@Modules(scanPackage = true)
@IocBy(type = ComboIocProvider.class,  
args = {"*org.nutz.ioc.loader.json.JsonLoader",
    "config/dao.js", 
    "*org.nutz.ioc.loader.annotation.AnnotationIocLoader", 
    "com.asiainfo_linkage.service",
    "com.asiainfo_linkage.mvc.controller",
    "com.asiainfo_linkage.scheduler",
    "com.asiainfo_linkage.runtask"
    })
@Localization("msg")
@Ok("jsp")
@Fail("jsp")
@SetupBy(value=AppSetup.class)
public class MainModule {

}
